package com.tuanzi.loan.business.entity.galaxycard;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 银河黑卡卡权益状态 Entity
 * @author JinRuiyang 2018/1/9 15:14:52
 */
@Data
@Entity
@Table(name = "loan_galaxy_card_privilege_status")
@SuppressWarnings("serial")
@EqualsAndHashCode
public class GalaxyCardPrivilegeStatus implements Serializable {

    // 主键
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    // 权益id
    @Column(name = "privilege_id")
    private Long privilegeId;

    // 权益状态编号
    @Column(name = "`status`")
    private Integer status;

    // 权益点击后的行为
    @Column(name = "action")
    private Integer action;

    // 行为目标
    @Column(name = "target")
    private String target;

    // 权益状态显示
    @Column(name = "`show`")
    private String show;

    // 创建时间
    @Column(name = "create_time")
    private Date createTime;
}
